const term = {
  title: {
    nonPagination:{
        value: "不分页",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.nonPagination",

    },
    pagination:{
        value: "分页",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.pagination",

    },
    statistics: {
      value: "统计",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.statistics",
    },
    userSelection: {
      value: "用户选择",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.userSelection",
    },
    press: {
      value: "按照",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.press",
    },
    count: {
      value: "计数",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.count",
    },
    sum: {
      value: "求和",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.sum",
    },
    avg: {
      value: "求平均",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.avg",
    },
    sortTypeDsName: {
      value: "标签",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.sortTypeDsName",
    },
    sortTypeDsValue: {
      value: "值",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.sortTypeDsValue",
    },
    dataSortList: {
      value: "默认排序",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.dataSortList",
    },
    dataSortListDes: {
      value: "按降序",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.dataSortListDes",
    },
    dataSortListAsc: {
      value: "按升序",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.dataSortListAsc",
    },
    pieChart: {
      value: "饼图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.pieChart",
    },
    histogram: {
      value: "柱状图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.histogram",
    },
    lineChart: {
      value: "折线图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.lineChart",
    },
    barChart: {
      value: "条形图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.barChart",
    },
    funnelChart: {
      value: "漏斗图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.funnelChart",
    },

    year: {
      value: "按年份",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.year",
    },
    month: {
      value: "按月份",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.month",
    },
    week: {
      value: "按周",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.week",
    },
    date: {
      value: "按日期",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.date",
    },
    hour: {
      value: "按小时",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.hour",
    },
    minute: {
      value: "按分钟",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.minute",
    },
    second: {
      value: "按秒",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.second",
    },
    edit: {
      value: "编辑",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.edit",
    },
    sort: {
      value: "排序",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.sort",
    },
    listView: {
      value: "列表视图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.listView",
    },
    CardView: {
      value: "卡片视图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.cardView",
    },
    treeView: {
      value: "树视图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.treeView",
    },
    pivotView: {
      value: "统计视图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.pivotView",
    },
    chartView: {
      value: "图表视图",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.chartView",
    },
    refresh: {
      value: "刷新",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.refresh",
    },
    export: {
      value: "导出",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.export",
    },
    filter: {
      value: "过滤",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.filter",
    },
    setColum: {
      value: "列设置",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.setColum",
    },
    feildSet: {
      value: "字段设置",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.feildSet",
    },
    chart: {
      value: "图表",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.chart",
    },
    setChart: {
      value: "图表设置",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.setChart",
    },
    chartType: {
      value: "图表类型",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.chartType",
    },
    configuration: {
      value: "配置区",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.configuration",
    },
    name: {
      value: "名称",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.name",
    },
    groupBy: {
      value: "分组依据",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.title.groupBy",
    },
  },
  placeholder: {
    chartName: {
      value: "请填写图表名称",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.placeholder.chartName",
    },
    groupBy: {
      value: "分组",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.placeholder.groupBy",
    },
    selectGroupingBy: {
      value: "请选择分组依据",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.placeholder.selectGroupingBy",
    },
    collectionMethod: {
      value: "归集方式",
      ReferenceExpr:
        "Schema.Controls.mixed_view.Terms.placeholder.collectionMethod",
    },
    polymerization: {
      value: "聚合",
      ReferenceExpr:
        "Schema.Controls.mixed_view.Terms.placeholder.polymerization",
    },
    polymerizationMethod: {
      value: "聚合方式",
      ReferenceExpr:
        "Schema.Controls.mixed_view.Terms.placeholder.polymerizationMethod",
    },
    sortMethod: {
      value: "排序方式",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.placeholder.sortMethod",
    },
  },
  notify: {
    notError: {
      value: "Debugger，这不是错误",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.notError",
    },
    version: {
      value: "当前方案格式为1.0版本",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.version",
    },
    delete: {
      value: "确认要删除吗",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.delete",
    },
    required: {
      value: "必填验证",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.required",
    },
    name: {
      value: "名称",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.name",
    },
    repeat: {
      value: "重复",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.repeat",
    },
    limtMessageConfirm: {
      value: "符合条件的数据有${count}条，超过系统设置的上限${limitMax}条。确定继续查询吗？",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.limtMessageConfirm",
    },
    limtMessage: {
      value: "查询结果集已经超过系统设置的上限${limitMax}条，请缩小查询范围或导出数据进行统计分析。",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.limtMessage",
    },
    limtLinkMessage: {
      value: "点击此处联查",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.notify.limtLinkMessage",
    },
  },
  config: {
    pageIndex: {
      value: "页码",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.config.pageIndex",
    },
    pageSize: {
      value: "分页大小",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.config.pageSize",
    },
    queryFilter: {
      value: "高级查询过滤条件",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.config.queryFilter",
    },
    sort: {
      value: "高级查询排序条件",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.config.sort",
    },
  },
  button: {
    cancel: {
      value: "取消",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.button.cancel",
    },
    save: {
      value: "保存",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.button.save",
    },
    delete: {
      value: "删除",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.button.delete",
    },
    listViewFilterTips:{
      value: "过滤",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.button.listViewFilterTips",
    },
    listViewColumnTips:{
      value: "列设置",
      ReferenceExpr: "Schema.Controls.mixed_view.Terms.button.listViewColumnTips",
    }
  },
};
//初始化执行数据
// for (let i in term) {
//   for (let j in term[i]) {
//     let data = term[i][j].ReferenceExpr.split(".").reduce((prev, cur) => {
//       try {
//         if (!!prev[cur]) {
//           return prev[cur];
//         } else {
//           return term[i][j].value;
//         }
//       } catch (error) {
//         return term[i][j].value;
//       }
//     }, _.cloneDeep(window.localMessage?localMessage['fas_common']:{}));
//     term[i][j] = data ? data : term[i][j].value;
//   }
// }
export const Terms = term;
